import request from '@/utils/request';
// list
export const kechengxuanzeList = (params) => {
    return request({
        url: '/kechengxuanze/page',
        method: 'post',
        data: params,
    })
};
export const kechengxuanzeDetail = (id) => {
    return request({
        url: '/kechengxuanze/'+id,
        method: 'get',
    })
};
// add
export const kechengxuanzeSave = (params) => {
    return request({
        url: '/kechengxuanze',
        method: 'post',
        data: params,
    })
};
// updt
export const kechengxuanzeEdit = (params) => {
    return request({
        url: '/kechengxuanze',
        method: 'put',
        data: params,
    })
};
// delete
export const kechengxuanzeDelete = (id) => {
    return request({
        url: '/kechengxuanze/'+id,
        method: 'delete',
    })
};
// pldel
export const kechengxuanzeDeleteList = (kechengxuanzes) => {
    return request({
        url: '/kechengxuanze/deleteList',
        data:{list:kechengxuanzes},
        method: 'post',
    })
};
// all
export const kechengxuanzeAllList = () => {
    return request({
        url: '/kechengxuanze',
        method: 'get',
    })
};

